<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>支付方式</title>
<include file="Public/header" />
</head>
<body>
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
            	
                <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
               
            </div>
            <div class="list_vmall_rig">
            	<div class="list_vmall_bort">
                	<table width="100%" border="1" cellspacing="1" cellpadding="1">
                      <tr>
                       <form action="<{:U('payment')}>" method="get">
                        <td height="46">  </td>
                        </form>
                        <form action="<{:U('UpPaySort')}>" method="post">
                      	<!-- <td height="46"> <a href="<{:U('paymentAdd')}>" class="v_mall_q"><i class="v_mall_fi"></i>添加支付方式</a></td> -->
                      </tr>
                    </table>
				          	<table width="100%" class="v_am_bor_t v_am_td" border="1" cellspacing="1" cellpadding="1">
                      <tr class="v_am_bg_top" height="30">
                        <td height="34" align="center" valign="middle" class="v_am_font">支付Code</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">支付名</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">平台</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">状态</td>
                      
                        <td height="34" align="center" valign="middle" class="v_am_font" style="border-right:0;">操作</td>
                      </tr>
                        <volist name="code" id="v">
                          <tr> 
                            <td height="36" align="center" valign="middle"><{$key}></td>
                            <td height="36" align="center" valign="middle"><{$v['title']}></td>
                            <td height="36" align="center" valign="middle"><{$v['type']=='wap'?'手机版':'Pc版'}></td>
                            <td height="36" align="center" valign="middle"><{$v['enabled']==1 ? '正常' : '关闭'}></td>
                             
                            <td style="border-right:0;"  height="36" align="center" valign="middle">	

                                <if condition="$v['enabled']">
                                <a  href="<{:U('enabled')}>?code=<{$key}>&close=0" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;关闭</a> 
                                <else />
                                 <a  href="<{:U('enabled')}>?code=<{$key}>&close=1" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;开启</a> 
                                </if>
                                <a  href="<{:U('paymentAdd',array('code'=>$key , 'name'=>$arr[$key]))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;配置</a> 
                                <a onclick="return confirm('确认需要删除些信息吗？');"  href="<{:U('paymentDel',array('id'=>$vo['payment_id']))}>" class="btn"><i class="v_mall_tubg v_mall_tj3"></i>&nbsp;删除</a>
                            </td>
                          </tr>
                      </volist>
                    </table>
                    </form>
                   <include file='Public/pager' />
                
                </div>
            </div>
        </div>
        
  
 
</body>
</html>
